package cn.demon.pet.service;

import cn.demon.basic.util.PageList;
import cn.demon.pet.domain.SearchMasterMsg;
import cn.demon.basic.service.IBaseService;
import cn.demon.pet.dto.MsgDto;
import cn.demon.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author demon
 * @since 2022-06-18
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

    PageList<SearchMasterMsg> userSearchMasterMsg(SearchMasterMsgQuery query, HttpServletRequest request);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery query, HttpServletRequest request);

    void reject(Long id);

    void accept(MsgDto msgDto);
}
